home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
mail
/
mailhand
/
email-pa.000
/
email-pa
/
email-pager
/
chat-source
/
Makefile.linux
< prev
next >
Wrap
Makefile
|
1995-04-12
|
590b
|
25 lines
# $Id: Makefile,v 1.1 1993/08/14 06:30:44 deraadt Exp $
BINDIR=/usr/etc
CDEF1= -DTERMIOS # Use the termios structure
CDEF2= -DPIDSTRING # I like ascii pid values
CDEF3= -DLOCK_DIR=\"/var/lock\" # Directory for lock file
CDEF4= -DSIGTYPE=void # Standard definition
CDEF5= -UNO_SLEEP # Use the usleep function
CDEF6= -DFNDELAY=O_NDELAY # Old name value
CDEFS= $(CDEF1) $(CDEF2) $(CDEF3) $(CDEF4) $(CDEF5) $(CDEF6)
CFLAGS= -O2 -N $(CDEFS)
all: chat
chat: chat.o
$(CC) -o chat chat.o
chat.o: chat.c
$(CC) -c $(CFLAGS) -o chat.o chat.c
install: chat
install -c chat $(BINDIR)